package com.tengfei.main.exam.domain.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author feige
 * @version v1.0
 * @date 2022-09-12-21:33
 * @description
 */

@Data
@ApiModel("用户考试记录业务对象")
public class UserRecodeBo {

    /**
     * 用户姓名
     */
    @ApiModelProperty(value = "用户姓名")
    private String name;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    private Long deptId;

    /**
     * 试卷id
     */
    @ApiModelProperty(value = "试卷id", required = true)
    @NotNull(message = "试卷id不能未为空")
    private Long paperId;

    /**
     * 考试状态
     */
    @ApiModelProperty(value = "用户考试状态(0:未开考,1:考试中,2:已交卷)")
    private Long userPaperStatus;

}
